home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d14
/
ccwindem.arc
/
DEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-02-25
|
2KB
|
63 lines
echo off
cls
if %1Z==Z goto error1
if %2Z==Z goto error2
%2
md %2\CCDEMO
cd %2\CCDEMO
:disk1
if exist %1CMPRDEMO.EXE goto disk1a
cls
echo Please put the demonstration disk in the %1 drive.
pause
goto disk1
:disk1a
cls
echo Uncompressing files - please wait ...
%2
%1CMPRDEMO
if not exist %2\CCDEMO\CCMAIL.EXE goto error
cls
echo Installation successful.
echo.
echo Type DEMO to start the cc:Mail Post Office Pack for Windows Demonstration.
%2
goto exit
:error
cls
echo Installation error:
echo Be sure you have 1.5 MB of free space on your hard disk.
goto exit
:error1
cls
echo cc:Mail Post Office Pack for Windows Demonstration
echo -----------------------------------------------------------------------
echo.
echo The demonstration requires 1.5 MB of disk space. Please be sure space
echo is available on your hard drive before continuing with this
echo installation program.
echo.
echo The demonstration files are distributed in a compressed format.
echo This installation will uncompress the files and place them in a
echo directory called \CCDEMO on your hard drive. You will see the words
echo "Installation successful" if there are no errors.
echo.
:error2
echo To install the demonstration:
echo.
echo 1. Change the current drive to your floppy drive.
echo.
echo 2. Type DEMO x: y:, where x is the drive letter of your floppy
echo drive and y is the drive letter of your hard drive.
echo.
:exit